﻿@model Everynet.Models.LogOnModel
@{
    
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}


@{
    ViewBag.Title = "Index";
    
}
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/style.css")" rel="stylesheet" type="text/css" />
    <span style="text-align:center;">@Html.ValidationSummary(true, "Please correct the errors and try again.")</span>
@using (Html.BeginForm())
{
    
    <div class="log-on-page">
    <h2>Admin Log On</h2>
     <fieldset><legend>
    <div class="log-on-box">
    <label for="UserName">  @Html.LabelFor(m => m.UserName)</label>
      @Html.TextBoxFor(m => m.UserName) <br />
                @Html.ValidationMessageFor(m => m.UserName)
    </div>
    <div class="log-on-box">
    <label for="UserName"> @Html.LabelFor(m => m.Password)</label>
       @Html.PasswordFor(m => m.Password)<br />
                @Html.ValidationMessageFor(m => m.Password)
    </div>
    <div class="rememberme">
     @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
    </div>
    <p>
  <input type="submit" value="Log On" class="login-btn" />
</p>
    </legend>
    </fieldset>
    </div>
}
<script type="text/javascript">
    $(function () {
        $("#Topnavigation").hide();
        $(".myMenu").hide();
    });
    </script>
    

